package it.isa.demo.entity;

import java.io.Serializable;

/**
 * @author Corgile
 * @date 2022-02-26
 */
public class User implements Serializable {


	private Integer userId;
	private String name;
	private String address;
	private Integer age;

	public User(String name, String address, Integer age) {
		this.name = name;
		this.address = address;
		this.age = age;
	}

	public User() {

	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getUserId() {
		return userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	@Override
	public String toString() {
		return "User{" +
				"userId=" + userId +
				", name='" + name + '\'' +
				", address='" + address + '\'' +
				", age=" + age +
				'}';
	}
}
